@import 'antd/es/style/themes/default.less';

.foot-toggle-title {
  padding-top: 16px;
}
.toggle-title-btn {
  font-size: @heading-4-size;
  font-weight: bold;

  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 56px;
  padding: 0 4px;

  cursor: pointer;
  user-select: none;

  color: @text-color-secondary;
  border-bottom: 3px solid #fff;
  + .toggle-title-btn {
    margin-left: 24px;
  }
  &.active {
    color: @heading-color;
    border-bottom-color: @primary-color;
  }
  .message-total {
    font-size: 12px;
    font-weight: normal;

    position: absolute;
    top: 0;
    right: -20px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;
    padding: 0 6px;

    text-align: center;

    color: #fff;
    border-radius: 10px;
    background-color: @error-color;
  }
}

.foot-block__header {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;

  height: 56px;
  margin: 24px 0;
}

.foot-block__tag {
  display: inline-block;

  margin-left: 64px;
  .tag-header {
    font-size: 12px;

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;

    height: 20px;

    color: @text-color-secondary;
    .square {
      display: inline-block;

      width: 8px;
      height: 8px;
      margin-right: 8px;

      background-color: @primary-color;
      &.vice {
        background-color: @vice-3;
      }
      &.warning {
        background-color: @warning-color;
      }
    }
  }
  .tag-content {
    font-size: @heading-3-size;
    line-height: 1;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    height: 32px;

    color: @heading-color;
    .unit {
      font-size: @font-size-base;

      margin-bottom: 2px;
      margin-left: 4px;

      color: @text-color-secondary;
    }
  }
}

.foot-block__content {
  height: 264px;
}
.hide {
  display: none;
}